# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-

def insertsort(list) :
    length = len(list)
    for i in range(length):
        for j in range(i,length):
            if l[i] > l[j] :
                l[i],l[j] = l[j],l[i]
    return list

l = [2,11,12,15,1]
print(insertsort(l))